﻿using FreeSql.DataAnnotations;
using Magicodes.ExporterAndImporter.Core;
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using System.Threading.Tasks;

namespace Magicodes.IE.Demo.Modules
{
    public class PaymentLog
    {

        /// <summary>
        ///     序号
        /// </summary>
        [Description("缴费序号")]
        [Column(IsIdentity = true, IsPrimary = true)]
        public long Id { get; set; }
        /// <summary>
        ///     学生姓名
        /// </summary>
        public string Name { get; set; }

        /// <summary>
        ///     身份证号码
        /// </summary>
        public string IdCard { get; set; }

        /// <summary>
        ///     缴费类型
        /// </summary>
        public string CostType { get; set; }

        /// <summary>
        ///     金额
        /// </summary>
        public decimal Amount { get; set; }

        /// <summary>
        ///     缴费日期
        /// </summary>
        public string PayDate { get; set; }

        /// <summary>
        ///     收据编号
        ///     多个使用逗号分隔，仅线下收据
        /// </summary>
        public string ReceiptCodes { get; set; }

        /// <summary>
        ///     备注
        /// </summary>
        public string Remarks { get; set; }

        /// <summary>
        ///     创建时间
        /// </summary>
        public DateTime? CreationTime { get; set; }

        /// <summary>
        ///     收费项目id
        /// </summary>
        public int? ChargeProjectId { get; set; }

        /// <summary>
        ///     班级Id
        /// </summary>
        public Guid? ClassId { get; set; }

        /// <summary>
        ///     班级名称
        /// </summary>
        public string ClassName { get; set; }

        /// <summary>
        ///     年级Id
        /// </summary>
        public Guid? GradeId { get; set; }

        /// <summary>
        ///     年级信息
        /// </summary>
        public string GradeName { get; set; }

        /// <summary>
        ///     专业Id
        /// </summary>
        public Guid? MajorId { get; set; }

        /// <summary>
        ///     专业信息
        /// </summary>
        public string MajorName { get; set; }

        /// <summary>
        ///     校区Id
        /// </summary>
        public Guid? CampusId { get; set; }

        /// <summary>
        ///     校区名称
        /// </summary>
        public string CampusName { get; set; }

        /// <summary>
        ///     学校Id
        /// </summary>
        public Guid? SchoolId { get; set; }

        /// <summary>
        ///     学校信息
        /// </summary>
        public string SchoolName { get; set; }
    }
}
